package com.kxmall.storage.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 定位最近仓库
 **/
@Data
@ApiModel("定位最近仓库")
public class RecentlyStorageVo implements Serializable {

    @ApiModelProperty(value = "仓库主键ID")
    private Long id;

    @ApiModelProperty(value = "最近是否有仓库")
    private Boolean haveStorage;

    @ApiModelProperty(value = "最近仓库是否营业")
    private Boolean businessState;

    @ApiModelProperty(value = "营业起始时间")
    private String businessStartTime;

    @ApiModelProperty(value = "营业结束时间")
    private String businessStopTime;

    @ApiModelProperty(value = "配送起始时间")
    private String deliveryStartTime;

    @ApiModelProperty(value = "配送结束时间")
    private String deliveryStopTime;

    @ApiModelProperty(value = "距离")
    private BigDecimal distance = BigDecimal.ZERO;

}
